package com.artic.drools;

/**
 * Created by IntelliJ IDEA.
 * User: czarnik_a
 * Date: 27.01.11
 * Time: 09:44
 * To change this template use File | Settings | File Templates.
 */
public class Applicant {
    private String name;
    private int age;
    private boolean valid;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isValid() {
        return valid;
    }

    public void setValid(boolean valid) {
        System.out.println("set to:"+valid);
        this.valid = valid;
    }
}

